// 用戶數據類型定義
export interface User {
  UserName: string;
  UserAge: number;
}

// API 返回數據類型定義
export interface ApiResponse<T> {
  Response: {
    Data?: T[];
    Error?: {
      Code: string;
      Message: string;
    };
  };
}

// 用戶選擇器屬性類型定義
export interface UserSelectorProps {
  value?: string | string[];
  onChange?: (value: string | string[]) => void;
  placeholder?: string;
  mode?: 'multiple' | 'tags' | undefined;
  style?: React.CSSProperties;
  disabled?: boolean;
  allowClear?: boolean;
} 